package com.hh.service.dao.merchant;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hh.common.model.merchant.MerchantMenuInit;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MerchantMenuInitDao extends BaseMapper<MerchantMenuInit> {
    @Select("select * from eb_merchant_menu_init where pid = #{id}")
    List<MerchantMenuInit> getItemsByPid(@Param("id") Integer id);
}
